package com.online.teaching.module.student.homework.service;

import com.online.teaching.module.student.homework.domian.dto.AnswerAddDTO;
import com.online.teaching.module.student.takes.domain.vo.GetHomeWorkListVO;

import java.util.List;

/**
 * @author yg
 */
public interface StudentHomeworkService {
    /**'
     *获取某一门课的作业列表
     * @param teachesId
     * @param stuId
     *
     * @return
     */
    List<GetHomeWorkListVO> getHomeworkList(Integer teachesId, Integer stuId);

    /**
     * 学生提交作业，包括前面提交的覆盖后面的
     * @param answerAddDTO
     * @return
     */
    int addAnswer(AnswerAddDTO answerAddDTO);
}
